How to Buy?

This guide explains how to purchase WTD tokens during an active sale round.

Prerequisites

  • A wallet with USDC, USDT, or ETH on the deployed chain (Base or Ethereum)

  • The sale round you want to participate in must be active

Option 1: Buy with USDC

1

Approve USDC

Before purchasing, you must approve the WTDSale contract to spend your USDC. Call approve on the USDC token contract:

USDC.approve(WTDSale_address, usdc_amount)

The amount should be in USDC's 6-decimal format. For example, to approve $1,000 USDC: 1000000000 (1000 * 10^6).

2

Purchase

Call purchaseWithUSDC on the WTDSale contract:

WTDSale.purchaseWithUSDC(round, usdc_amount)
  • round: 0 for Seed, 1 for Private, 2 for Public

  • usdc_amount: Amount of USDC in 6-decimal format

3

What Happens

  • USDC is transferred from your wallet to the sale contract

  • Token amount is calculated: tokenAmount = (usdcAmount * 10^18) / priceUSDC

  • A vesting schedule is created for you in WTDVesting

  • Your purchase is recorded on-chain


Option 2: Buy with USDT

1

Approve USDT

USDT.approve(WTDSale_address, usdt_amount)
2

Purchase

WTDSale.purchaseWithUSDT(round, usdt_amount)

USDT uses 6 decimals; the process is otherwise identical to USDC.


Option 3: Buy with ETH

1

Purchase (no approval needed)

No approval is needed for ETH. Send ETH with your purchase call:

WTDSale.purchaseWithETH{value: eth_amount}(round)
  • round: 0 for Seed, 1 for Private, 2 for Public

  • eth_amount: Amount of ETH in wei (18 decimals)

2

How the ETH purchase is processed

The contract uses a Chainlink ETH/USD oracle to convert your ETH to a USD value, then calculates your token amount based on the round's ETH price.

3
circle-exclamation

After Purchase

Your tokens are not immediately available. They follow a vesting schedule:

1

TGE Unlock

5% of your tokens unlock gradually over 4 weeks starting from the TGE date.

2

Lock-up Period

Remaining tokens are locked for 3–6 months depending on the round.

3

Weekly Vesting

After lock-up ends, tokens vest weekly.

See Investor Vesting for full schedule details and How to Claim for claiming instructions.


Checking Your Purchase

You can view your purchase details:

This returns:

  • totalPurchased — Total WTD tokens purchased in this round

  • totalPaidUSDC — Total USDC paid

  • totalPaidUSDT — Total USDT paid

  • totalPaidETH — Total ETH paid (in wei)

To view purchases across all rounds: